﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WhutDoomCheck.Shared.ExcelModels
{
    [ExcelExporter(Name = "学院完成情况", TableStyle = OfficeOpenXml.Table.TableStyles.Light1, AutoFitAllColumn = true)]
    public class SchoolStatus
    {
        [ExporterHeader(DisplayName = "学院")]
        public string SchoolName { get; set; } = null!;

        [ExporterHeader(DisplayName = "已完成人数")]
        public int Finished { get; set; }

        [ExporterHeader(DisplayName = "已修改人数")]
        public int Modified { get; set; }

        [ExporterHeader(DisplayName = "未完成人数")]
        public int Unfinished { get; set; }

        [ExporterHeader(DisplayName = "总人数")]
        public int Total { get; set; }
    }

    [ExcelExporter(Name = "空床位信息", TableStyle = OfficeOpenXml.Table.TableStyles.Light1, AutoFitAllColumn = true)]
    public class EmptyBed
    {
        [ExporterHeader(DisplayName = "校区")]
        public string Region { get; set; } = null!;

        [ExporterHeader(DisplayName = "住宿区域")]
        public string Area { get; set; } = null!;

        [ExporterHeader(DisplayName = "楼栋")]
        public string Building { get; set; } = null!;

        [ExporterHeader(DisplayName = "楼层")]
        public string Floor { get; set; } = null!;

        [ExporterHeader(DisplayName = "房间号")]
        public string RoomNumber { get; set; } = null!;

        [ExporterHeader(DisplayName = "空床位号")]
        public string BedNum { get; set; } = null!;
    }
}
